-- GENERATED SPELL FOR [Frenzied Geist] --


function spell0_28419(pUnit, Event) --@Fixate,n/a--
pUnit:FullCastSpellOnTarget(40414,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_28419', 15341, 1)
end

function Sorts_28419(pUnit, Event)
local choix_sorts_28419 = math.random(0, 0)
if choix_sorts_28419 == 0 then
pUnit:RegisterEvent('spell0_28419', 1, 1)
end
end

function mob28419_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_28419', math.random(1500, 3000), 1)
end

function mob28419_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob28419_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob28419_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(28419, 1, 'mob28419_Action')
RegisterUnitEvent(28419, 2, 'mob28419_Leave')
RegisterUnitEvent(28419, 3, 'mob28419_Kill')
RegisterUnitEvent(28419, 4, 'mob28419_Die')
